.home {
  $f: 19.2;

  .banner {
    position: relative;
    &::before{
      content:'';
      display: block;
      position: absolute;
      left: 0;
      top:0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .2);
    }
    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 33vh;
    }
    .text{
      position: absolute;
      left: 0;
      width: 100%;
      bottom:30/$f+vw;
      color:white;
      padding: 0 200/$f+vw;
      .p1{
        font-size: 30/$f+vw;
        font-weight: 600;
        line-height: 1;
      }
      .des{
        font-size: 20/$f+vw;
        margin-top: 20/$f+vw;
        line-height: 1.3;
        font-weight: 200;
      }
    }
  }

  .nav_menu {
    background: #F5F5F5;
    padding: 0 200/$f+vw;
    display: flex;
    align-items: center;

    a {
      display: block;
      padding: 20/$f+vw 44/$f+vw;
      color: #222;
      font-size: 17/$f+vw;
      line-height: 1.2;
      transition: all 600ms;
      cursor: pointer;

      &:hover {
        background: #FFF;
        color: #E6001A;
      }
    }

    .on {
      background: #FFF;
      color: #E6001A;
    }

    span {
      width: 1px;
      height: 10/$f+vw;
      background: #CCC;
    }
  }

  .section1 {
    margin: 80/$f+vw 200/$f+vw;

    .d1 {
      display: flex;
      justify-content: space-between;

      .t {
        color: rgba(0, 0, 0, 1);
        font-size: 32/$f+vw;
        font-weight: 700;
      }

      .r {
        display: flex;
        align-items: center;

        .btns {
          display: flex;

          .prev,
          .next {
            cursor: pointer;
            margin-left: 12/$f+vw;

            img {
              width: 40/$f+vw;
              display: block;
            }
          }
        }

        .swiper-scrollbar {
          position: static;
          width: 600/$f+vw;
          height: 2px;
          background: rgba(221, 221, 221, 1);
          margin: 0 30/$f+vw;

          .swiper-scrollbar-drag {
            background: #E94829;
          }
        }

        .nums {
          line-height: 2;

          .sp1 {
            color: #E94829;
            font-size: 20/$f+vw;
            font-weight: 700;
          }

          .line {
            color: rgba(221, 221, 221, 1);
            font-size: 20/$f+vw;
            margin: 0 5/$f+vw;
          }

          .total {
            color: rgba(221, 221, 221, 1);
            font-size: 20/$f+vw;
          }
        }
      }
    }

    .d2 {
      display: flex;
      justify-content: space-between;
      margin-top: 22/$f+vw;

      .l {
        width: 40%;

        .des {
          color: rgba(0, 0, 0, 1);
          font-size: 20/$f+vw;
          line-height: 1.7;
          margin-bottom: 92/$f+vw;
        }

        .pt {
          color: #E94829;
          font-size: 36/$f+vw;
          line-height: 1.1;
          font-weight: 600;
        }

        .pt2 {
          color: rgba(239, 239, 239, 1);
          font-size: 64/$f+vw;
          font-weight: 700;
          line-height: 1.15;
          margin-top: 100/$f+vw;
        }
      }

      .r {
        width: 55%;

        .swiper1 {
          width: 100%;

          .pic {
            width: 100%;
            position: relative;
            overflow: hidden;

            img {
              width: 100%;
              display: block;
              object-fit: cover;
              border-radius: 20/$f+vw;
              transition: all 600ms;
            }

            .text {
              position: absolute;
              left: 40/$f+vw;
              bottom: 40/$f+vw;
              color: white;

              .num {
                font-size: 30/$f+vw;
                font-weight: 900;
                line-height: 1;
                border-bottom: 2px solid white;
                padding-bottom: 20/$f+vw;
                width: fit-content;
              }

              .pt {
                font-size: 16/$f+vw;
                margin-top: 20/$f+vw;
              }
            }

            &:hover {
              img {
                transform: scale(1.05);
              }
            }
          }
        }
      }
    }
  }

  .section2 {
    margin: 240/$f+vw 200/$f+vw;

    .t {
      text-align: center;
      color: rgba(22, 22, 22, 1);
      font-size: 32/$f+vw;
      font-weight: 700;
      line-height: 1.6;
      margin-bottom: 120/$f+vw;
    }

    .content {
      width: 600/$f+vw;
      height: 600/$f+vw;
      border-radius: 50%;
      border: 1px dashed rgba(227, 6, 19, 0.20);
      margin: 0 auto;
      position: relative;
      .goTo{
        width: 225/$f+vw;
        height: 225/$f+vw;
        position: absolute;
        left: 50%;
        top:50%;
        transform: translate(-50%,-50%);
        p{
          width: 100%;
          height: 100%;
          background: #E94829;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #FFF;
          font-size: 32/$f+vw;
          font-style: normal;
          font-weight: 400;
          text-transform: capitalize;
        }
        @keyframes scaleAnimate {
          0% {
            transform: translate(-50%, -50%) scale(1);
            opacity: .8;
          }
  
          100% {
            transform: translate(-50%, -50%) scale(1.6);
            opacity: 0;
          }
        }
        &::after {
          content: '';
          position: absolute;
          width: 100%;
          height: 100%;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          background: #E7E7E7;
          z-index: -1;
          border-radius: 50%;
          transition: .6s ease;
          animation: 2s scaleAnimate linear infinite;
          pointer-events: none;
        }
        &::before {
          content: '';
          position: absolute;
          width: 100%;
          height: 100%;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          background: #E7E7E7;
          z-index: -1;
          border-radius: 50%;
          transition: .6s ease;
          animation: 2s scaleAnimate linear infinite;
          pointer-events: none;
          animation-delay: 1s;
        }
      }
      .icon {
        position: absolute;

        img {
          display: block;
        }
      }

      // .icon1 {
      //   left: 50%;
      //   top: -15/$f+vw;
      //   transform: translateX(-50%) rotate(180deg);
      // }

      .icon2 {
        right: -10/$f+vw;
        top: 50%;
        transform: translateY(-50%);
      }

      .icon3 {
        bottom: -15/$f+vw;
        left: 50%;
        transform: translateX(-50%);
      }

      .icon4 {
        left: -9/$f+vw;
        top: 50%;
        transform: translateY(-50%);
      }

      .box {
        position: absolute;
        display: flex;
        align-items: center;

        .dt {
          text-align: center;
          width: 160/$f+vw;
          height: 160/$f+vw;
          display: flex;
          align-items: center;
          justify-content: center;
          flex-direction: column;
          border-radius: 50%;
          transition: all 600ms;
          background-color: white;
          .ic {
            svg {
              width: 48/$f+vw;
              transition: all 600ms;
              path{
                transition: all 600ms;
              }
            }
          }

          p {
            color: rgba(34, 34, 34, 1);
            font-size: 18/$f+vw;
            line-height: 1.3;
            transition: all 600ms;
            margin-top: 5/$f+vw;
          }
        }

        .des {
          margin:0 40/$f+vw;
          font-size: 16/$f+vw;
          line-height: 1.5;
          color: rgba(114, 114, 114, 1);
          width: 260/$f+vw;
        }
        &:hover{
          .dt{
            background: #E94829;
            .ic{
              svg{
                path{
                  fill: #fff;
                }
              }
            }
            p{
              color:white;
            }
          }
        }
      }

      .box1 {
        left: 38%;
        top: -60/$f+vw;
        .des{
          margin-left: 80/$f+vw;
        }
      }

      .box2 {
        right: -340/$f+vw;
        bottom: 40/$f+vw;
      }

      .box3 {
        left: -340/$f+vw;
        bottom: 40/$f+vw;
        flex-direction: row-reverse;
      }
      .box4 {
        left: -240/$f+vw;
        top: 60/$f+vw;
        flex-direction: row-reverse;
        .des{
          width: fit-content;
        }
      }
    }
  }

  .section3 {
    margin: 0 200/$f+vw 160/$f+vw 200/$f+vw;

    .t {
      color: rgba(22, 22, 22, 1);
      font-size: 32/$f+vw;
      font-weight: 700;
      text-align: center;
      line-height: 1.6;
      margin-bottom: 44/$f+vw;
    }

    .list {
      a {
        display: flex;
        gap: 120/$f+vw;
        margin-bottom: 60/$f+vw;
        align-items: center;

        .pic {
          width: 50%;
          overflow: hidden;

          img {
            width: 100%;
            display: block;
            object-fit: cover;
            transition: all 600ms;
          }
        }

        .info {
          width: 50%;

          .time {
            color: rgba(102, 102, 102, 1);
            font-size: 13/$f+vw;
          }

          .pt {
            color: #000;
            font-size: 24/$f+vw;
            line-height: 1.16;
            margin: 24/$f+vw 0 20/$f+vw 0;
            transition: all 600ms;
          }

          .des {
            color: rgba(102, 102, 102, 1);
            font-size: 16/$f+vw;
            line-height: 1.56;
          }

          .btn {
            display: flex;
            align-items: center;
            margin-top: 32/$f+vw;

            svg {
              width: 37/$f+vw;
              display: block;
              transition: all 600ms;
            }

            p {
              color: #E94829;
              font-size: 18/$f+vw;
              margin-left: 11/$f+vw;
              transition: all 600ms;
            }

            &:hover {

              svg,
              p {
                transform: translateX(10/$f+vw);
              }
            }
          }
        }

        &:hover {
          .pic {
            img {
              transform: scale(1.05);
            }
          }

          .info {
            .pt {
              color: #E94829;
            }
          }
        }
      }

      a:nth-child(2n) {
        flex-direction: row-reverse;
      }
    }

    .pager {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 80/$f+vw 0;

      .prev,
      .next {
        svg {
          display: block;
          width: 23/$f+vw;
        }
      }

      a {
        img {
          margin: 0 0 0 10px;
          display: block;
        }
      }

      a:nth-last-child(2) {
        img {
          margin: 0 10px 0 0;
        }
      }

      .nums {
        display: flex;
        margin: 0 1vw;

        a {
          color: rgba(139, 139, 139, 1);
          font-size: 20/$f+vw;
          padding: 0.1vw 0.5vw;
          margin: 0 0.2vw;

        }


        .active {
          color: #FB0000;
          border-bottom: 2px solid #FB0000;
          font-weight: 600;
        }
      }

      p {
        color: rgba(51, 51, 51, 1);
        font-size: 15/$f+vw;
        margin-left: 40/$f+vw;
      }
    }
  }



  @media screen and (max-width: 1024px) {
    .banner {
      img {
        height: 300px;
      }
      .text{
        padding: 0 5%;
        bottom: 20px;;
        .p1{
          font-size: 24px;
        }
        .des{
          font-size: 16px;
          margin-top: 10px;
        }
      }
    }
    .nav_menu{
      padding: 0;
      flex-wrap: wrap;
      a{
        padding: 15px 10px;
        font-size: 14px;
      }
      span{
        height: 10px;
      }
    }

    .tabs{
      margin: 30px 0 0 0;
      flex-wrap: wrap;
      a{
        padding:12px 15px;
        font-size: 14px;
      }
    }

    .section1{
      margin: 30px 5%;
      .d1{
        flex-direction: column;
         .t{
           font-size: 24px;
         }
          .r{
            margin: 10px 0;
            .btns{
              .prev,.next{
                margin: 0 10px 0 0;
               img{
                 width: 24px;
               }
              }
            }
            .swiper-scrollbar{
              width:50%;
            }
            .nums{
              .sp1{
                font-size: 18px;
              }
              .line,.total{
                font-size: 16px;
              }
            }
          }
      }
      .d2{
        flex-direction: column-reverse;
        .l{
          width: 100%;
          margin-top: 20px;
          .des{
            font-size: 16px;
          }
          .pt{
            font-size: 18px;
          }
          .pt2{
            font-size: 24px;
          }
        }
        .r{
          width: 100%;
          .swiper1{
            .pic{
              .text{
                left: 20px;
                bottom:20px;
                .num{
                  font-size: 20px;
                  padding-bottom: 10px;
                }
                .pt{
                  font-size: 16px;
                  margin-top: 10px;
                }
              }
            }
          }
        }
      }
    }
    .section2{
      margin: 30px 5%;
      .t{
        font-size: 24px;
        margin-bottom: 60px;
      }
      .content{
        width: 100%;
        height: fit-content;
        border: none;
        margin:40px 0;
        .icon{
          display: none;
        }
        .goTo{
          position: static;
          margin: 0 auto;
          transform: translate(0);
          width: 150px;
          height: 150px;
          p{
            font-size: 20px;
          }
        }
        .box{
          position: static;
          width: 100%;
          flex-direction: column !important;
          text-align: center;
          margin-top: 20px;
          .dt{
            width: 120px;
            height: 120px;
            .ic{
              svg{
                width: 50px;
              }
            }
            p{
              font-size: 16px;
            }
          }
          .des{
            font-size: 14px;
            width: 100%;
            margin-top: 10px;
          }
        }
      }
    }
    .section3{
      margin: 30px 5%;
      .t{
        font-size: 24px;
        margin-bottom: 20px;
      }
      .list{
        a{
          flex-direction: column !important;
          gap: 20px;
          margin-bottom: 30px;
          .pic{
            width:100% ;
          }
          .info{
            width: 100%;
            .time{
              font-size: 16px;
            }
            .pt{
              font-size: 18px;
              margin: 15px 0 10px 0;
            }
            .des{
              font-size: 16px;
            }
            .btn{
              margin-top: 10px;
              svg{
                width: 24px;
              }
              p{
                font-size: 16px;
                margin-left: 10px;
              }
            }
          }
        }
      }
      .pager {
    
        .prev,
        .next {
          svg {
            width: auto;
          }
        }

        .nums {
          margin: 0 10px;

          a {
            font-size: 16px;
            padding: 3px 5px;
            margin: 0 5px;
          }
        }
        p{
          font-size: 14px;
        }
      }
    }
  }

}